package cn.com.nes.mybatis.agent.ope.entity;

import cn.com.nes.site.entity.vo.PageVO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("nes_ope_prod.t_sblx")
public class Sblx extends PageVO {
	
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@JsonProperty("sblx_id")
	@TableField("sblx_id")
	private String sblxId;
	
	private String sbmc;
	
	private String sbjc;
	
	private String sbcj;
	@TableField(exist = false)
	private String sbcjname;
	
	private String sbxh;
	
	private String sblxmc;
	
	private String cpmc;
	@TableField(exist = false)
	private  String sjlyname;
	
	//厂商id
	@JsonProperty("manufacture_id")
	private String manufactureId;
//	@JsonIgnore
	private String sjly;
	
	//公司id
//	@JsonIgnore
//	@TableField("companyId")
	@TableField(exist = false)
	private String companyId;
	@TableField(exist = false)
	private String companyName;
	//权限id
	@JsonProperty("role_id")
	@TableField(exist = false)
	private String roleId;
	//厂商名称
	@TableField(exist = false)
	private String manufacturename;
	
	@TableField("sfsc")
	@JsonIgnore
	private Integer sfsc;

	/**
	 * 创建人
	 */
	@TableField("cr_oper")
	private String crOper;

	/**
	 * 修改人
	 */
	@TableField("up_oper")
	private String upOper;

	/**
	 * 使用能源
	 */
	@TableField("syny")
	private String syny;

	/**
	 * 设备品牌
	 */
	@TableField("sbpp")
	private String sbpp;

	private BigDecimal rxl;

	/**
	 * 使用能源
	 */
	@TableField("synymc")
	private String synymc;

	/**
	 * 设备类型
	 */
	@TableField("sblx")
	private String sblx;

	/**
	 * 用能方式大类
	 */
	@TableField("ynfsdl")
	private String ynfsdl;

	/**
	 * 用能方式小类
	 */
	@TableField("ynfsxl")
	private String ynfsxl;

}
